


$font-size: 40px;
@function r($px){
  @return $px/$font-size * 1rem;
}

//固定常量
$height : 100vh;
$min-width : 1200px;
$now-width : 1920px;
$now-height : 1080px;

@function percentW($px){
  @return $px / $now-width * 100%;
}
@function percentH($px){
  @return $px / $now-height * $height;
}


@mixin textoverflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
}


// 清除浮动
.clearfix::after{
  content: ' ';
  display: block;
  overflow: hidden;
  height: 0;
  clear: both;
}

.sectionbg{
  background-color: rgba(0, 117, 169, 0.1) !important;
}